package com.baitiaojun.elasticsearch.service;

import com.baitiaojun.api.domain.video.Video;
import com.baitiaojun.api.exception.ConditionException;

import java.io.IOException;
import java.util.List;

/**
 * @类名 VideoService
 * @描述 TODO
 * @作者 白条君
 * @创建日期 2022/12/20 23:38
 * @版本 1.0
 */
public interface VideoService {

    void save(Video videoSummary) throws ConditionException;

    List<Video> getPageHomeVideoList(Long lastId, Integer pageSize, String... area) throws IOException;

    void updateVideo(List<Long> videoIds) throws IOException;

    void removeVideo(Long id);
}
